package com.ruoyi.system.service.impl;


import com.ruoyi.system.mapper.IndexMapper;
import com.ruoyi.system.service.IIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author silence.Z
 */
@Service
@Transactional
public class IndexServiceImpl implements IIndexService {

	@Autowired
	private IndexMapper indexMapper;

	@Override
	public Map<String, Object> getCount() {
		return indexMapper.getCount();
	}

	@Override
	public List<Map<String, Object>> getFlightMonthCount() {
		return indexMapper.getFlightMonthCount();
	}
	@Override
	public List<Map<String, Object>> getMoneyCount() {
		return indexMapper.getMoneyCount();
	}
	@Override
	public List<Map<String, Object>> getTicketState() {
		return indexMapper.getTicketState();
	}
}
